package id.net.iconpln.bb.server;

import id.net.iconpln.bb.client.service.MasterRPCService;
import id.net.iconpln.bb.server.service.MasterService;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.google.gwt.user.server.rpc.RemoteServiceServlet;

@Repository
public class MasterRPCServiceImpl  extends RemoteServiceServlet implements MasterRPCService{
@Autowired private MasterService masterService;

	@Override
	public List<Map> getMaster(String kode, Map map) {
		// TODO Auto-generated method stub
		return masterService.getMaster(kode, map);
	}
	
	@Override
	public List<Map> setRelationMaster(String kode, Map map) {
		return masterService.setRelationMaster(kode, map);
	}

	@Override
	public List<Map> crudMaster(String kode, Map map) {
		// TODO Auto-generated method stub
		return masterService.crudMaster(kode, map);
	}
	
}
